import request from '@/utils/request'

export default{

    sendCode(phone){
        return request({
            url:`/usermsm/msm/send/${phone}`,
            method:'get'
        })
    },
    registerMember(formItem){
        return request({
            url:`/usercenter/consumer/register`,
            method:'post',
            data:formItem
        })
    },

    isUsername(username){
        return request({
            url:`/usercenter/consumer/isusername/${username}`,
            method:'get'
        })
    },
    isPhone(mobile){
        return request({
            url:`/usercenter/consumer/isphone/${mobile}`,
            method:'get'
        })
    }
}